package com.fzj.example.order;


/**
 * ClassName: B
 * date: 2019/9/27 16:11
 * Description: TODO
 *
 * @author fanzj@bonree.com
 * @since JDK 1.8
 */
public class B {
    public static final String  B1="B1";
    //C,D在编译期间无法确定其中，会在运行时确定，所以DEBUG
    public static final C c=new C();
    public static final Object D=new Object();
    public static final double B2=Math.PI/23332;
    public static String  B3="B3";
    public static double  B4=Math.PI;
    static{
        System.out.println("static b class block");

    }
    private String b="b";
    {
        System.out.println("b class block param b="+b);
    }
    public B(){
        System.out.println("b default construct : param b="+b);
    }
    public B(String b){
        this.b=b;
        System.out.println("b construct(b): param b"+b);
    }
}
